/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.pub.dao;

import org.apache.ibatis.annotations.Param;

import com.thinkgem.jeesite.common.persistence.CrudDao;
import com.thinkgem.jeesite.common.persistence.annotation.MyBatisDao;
import com.thinkgem.jeesite.modules.pub.entity.PubUser;

/**
 * 单表生成DAO接口
 * @author zmy
 * @version 2019-04-18
 */
@MyBatisDao
public interface PubUserDao extends CrudDao<PubUser> {

	String getPsd(String userno);

	int insertUser(@Param("id") String id, @Param("username") String username,@Param("password") String password,@Param("userno") String userno,@Param("tel") String tel,@Param("age") String age,@Param("job") String job,@Param("birth") String birth);

	PubUser getInfo(String userno);

	int updateUser(@Param("id") String id, @Param("username") String username,@Param("password") String password,@Param("userno") String userno,@Param("tel") String tel,@Param("age") String age,@Param("job") String job,@Param("birth") String birth);
	
}